<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:a="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:ctg="http://www.crotouristguide.com/taglib"
	xmlns:c="http://java.sun.com/jstl/core">
<body>
<ui:component>
	<rich:panel styleClass="blue-panel clearfix">
		<div class="title"><h2><h:outputText
			value="#{messages['label.portal_statistics']}" /></h2></div>
		<s:div styleClass="left">
		<ul>
			<c:forEach items="#{tipObjektaStats}" var="stats" varStatus="s"
				begin="0" end="2">
				<li><h:outputLink value="#{application.contextPath}/guides/objekti/list.seam">
					<f:param name="sp" value="idTipaObjekta_#{stats[0]}" />
					<f:param name="l" value="#{currentLang}" />
					<f:param name="title" value="#{stringUtil.toLoverCase(messages[stringUtil.merge(stats[0],'.plural')])}" />
					<h:outputText escape="true" 
						value="#{messages[stringUtil.toString(stats[0])]}: #{stats[1]}" />
				</h:outputLink></li>
			</c:forEach>
		</ul>
		</s:div>
		<s:div styleClass="left">
		<ul>
			<c:forEach items="#{tipObjektaStats}" var="stats" varStatus="s"
				begin="3" end="5">
				<li><h:outputLink value="#{application.contextPath}/guides/objekti/list.seam">
					<f:param name="sp" value="idTipaObjekta_#{stats[0]}" />
					<f:param name="l" value="#{currentLang}" />
					<f:param name="title" value="#{stringUtil.toLoverCase(messages[stringUtil.merge(stats[0],'.plural')])}" />
					<h:outputText escape="true"
						value="#{messages[stringUtil.toString(stats[0])]}: #{stats[1]}" />
				</h:outputLink></li>
			</c:forEach> 
		</ul>	
		</s:div>
		<br class="clearb"/>	
	</rich:panel>
</ui:component>
</body>
</html>